package Game;

import java.awt.Graphics2D;

public class Congrats extends Scene
{
	private Background background;

	int i = 0;
	int MAX = 100;

	public Congrats()
	{
		background = new Background(0, 0, 800, 600);
		background.Load("/Imagens/bgCongrats.png");
	}

	@Override
	public void update(InputManager input) 
	{
		if (i++ > MAX)
			SceneManager.MudarCena();
	}

	@Override
	public void draw(Graphics2D g2d)
	{
		background.Draw(g2d);

		g2d.drawString("GameOver: " + i, 10, 10);
	}
}